package com.learning.cloud2020.dao;

import com.learning.cloud2020.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentMapper {

    Long save(@Param("payment")Payment payment);

    Payment findById(@Param("id")Long id);
}
